package com.xxkj.drugtraceability.ui.patientlist

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.xxkj.drugtraceability.R
import com.xxkj.drugtraceability.bean.PatientBean
import com.xxkj.drugtraceability.databinding.LayoutDrugScanBinding
import com.xxkj.drugtraceability.databinding.PatientItemBinding
import com.xxkj.drugtraceability.ext.clickN

/**
 * author: zhoujingjin
 * created on: 2024/9/11 10:27
 * description:
 */
class PatientAdapter():
    BaseQuickAdapter<PatientBean, BaseDataBindingHolder<PatientItemBinding>>(R.layout.patient_item) {
    override fun convert(holder: BaseDataBindingHolder<PatientItemBinding>, item: PatientBean) {
        holder.dataBinding?.apply {
            data = item
        }

    }
}